﻿namespace OpenNETCF
{
    public enum DevicePlatform
    {
        Unknown,
        Honeywell,
        Dolphin7600,
        HHP_WinCE,
        HHP_PPC
    }

    public enum SetupType
    {
        ST_DEFAULT = 0,
        ST_CURRENT = 1,
    }

    public enum ConfigType
    {
        FLAGS_ONLY = 0,
        FLAGS_AND_LENGTH = 1,
    }

    public enum BitMask
    {
        FLAGS = 1,
        MIN_LEN = 2,
        MAX_LEN = 4,
        ALL = 7,
    }

    public enum SymFlags
    {
        SYMBOLOGY_ENABLE = 1,
        SYMBOLOGY_CHECK_ENABLE = 2,
        SYMBOLOGY_CHECK_TRANSMIT = 4,
        SYMBOLOGY_START_STOP_XMIT = 8,
        SYMBOLOGY_ENABLE_APPEND_MODE = 16,
        SYMBOLOGY_ENABLE_FULLASCII = 32,
        SYMBOLOGY_NUM_SYS_TRANSMIT = 64,
        SYMBOLOGY_2_DIGIT_ADDENDA = 128,
        SYMBOLOGY_5_DIGIT_ADDENDA = 256,
        SYMBOLOGY_ADDENDA_REQUIRED = 512,
        SYMBOLOGY_ADDENDA_SEPARATOR = 1024,
        SYMBOLOGY_EXPANDED_UPCE = 2048,
        SYMBOLOGY_UPCE1_ENABLE = 4096,
        SYMBOLOGY_COMPOSITE_UPC = 8192,
        SYMBOLOGY_AZTEC_RUNE = 16384,
        SYMBOLOGY_AUSTRALIAN_BAR_WIDTH = 65536,
        SYMBOLOGY_RSE_ENABLE = 8388608,
        SYMBOLOGY_RSL_ENABLE = 16777216,
        SYMBOLOGY_RSS_ENABLE = 33554432,
        SYMBOLOGY_RSX_ENABLE_MASK = 58720256,
        SYMBOLOGY_TELEPEN_OLD_STYLE = 67108864,
        SYMBOLOGY_POSICODE_LIMITED_1 = 134217728,
        SYMBOLOGY_POSICODE_LIMITED_2 = 268435456,
        SYMBOLOGY_CODABAR_CONCATENATE = 536870912,
    }

    public enum SymID
    {
        SYM_AZTEC = 0,
        SYM_CODABAR = 1,
        SYM_CODE11 = 2,
        SYM_CODE128 = 3,
        SYM_CODE39 = 4,
        SYM_CODE49 = 5,
        SYM_CODE93 = 6,
        SYM_COMPOSITE = 7,
        SYM_DATAMATRIX = 8,
        SYM_EAN8 = 9,
        SYM_EAN13 = 10,
        SYM_INT25 = 11,
        SYM_MAXICODE = 12,
        SYM_MICROPDF = 13,
        SYM_OCR = 14,
        SYM_PDF417 = 15,
        SYM_POSTNET = 16,
        SYM_QR = 17,
        SYM_RSS = 18,
        SYM_UPCA = 19,
        SYM_UPCE0 = 20,
        SYM_UPCE1 = 21,
        SYM_ISBT = 22,
        SYM_BPO = 23,
        SYM_CANPOST = 24,
        SYM_AUSPOST = 25,
        SYM_IATA25 = 26,
        SYM_CODABLOCK = 27,
        SYM_JAPOST = 28,
        SYM_PLANET = 29,
        SYM_DUTCHPOST = 30,
        SYM_MSI = 31,
        SYM_TLCODE39 = 32,
        SYM_TRIOPTIC = 33,
        SYM_CODE32 = 34,
        SYM_STRT25 = 35,
        SYM_MATRIX25 = 36,
        SYM_PLESSEY = 37,
        SYM_CHINAPOST = 38,
        SYM_KOREAPOST = 39,
        SYM_TELEPEN = 40,
        SYM_CODE16K = 41,
        SYM_POSICODE = 42,
        SYM_COUPONCODE = 43,
        SYM_USPS4CB = 44,
        SYM_IDTAG = 45,
        SYM_LABEL = 46,
        NUM_SYMBOLOGIES = 47,
        SYM_ALL = 100,
    }

    public enum VirtualKeyTermEnum
    {
        VK_NONE = 0,
        VK_TAB = 9,
        VK_ENTER = 13,
        VK_FOCUSNEXT = 100,
        VK_FOCUSPREV = 101,
    }

    public enum ScanLightsMode
    {
        LM_ILLUM_AIMER_OFF = 0,
        LM_AIMER_ONLY = 1,
        LM_ILLUM_ONLY = 2,
        LM_ILLUM_AIMER = 3,
    }

    public enum DecodeMode
    {
        DM_STANDARD = 0,
        DM_QUICK_OMNI = 1,
        DM_LINEAR_PRIORITY = 2,
    }

    public enum AudioDevice
    {
        SND_NONE = 0,
        SND_STANDARD = 1,
        SND_FRONT_SPEAKER = 2,
        SND_STD_AND_FRONT = 3,
        SND_BEEPER = 4,
    }

    public enum TriggerKeyEnum
    {
        TK_NONE = 0,
        TK_ENTER = 13,
        TK_ONSCAN = 193,
    }

    public enum Result
    {
        RESULT_INITIALIZE = -1,
        RESULT_SUCCESS = 0,
        RESULT_ERR_BADREGION = 1,
        RESULT_ERR_DRIVER = 2,
        RESULT_ERR_ENGINEBUSY = 3,
        RESULT_ERR_MEMORY = 4,
        RESULT_ERR_NODECODE = 5,
        RESULT_ERR_NOIMAGE = 6,
        RESULT_ERR_NORESPONSE = 7,
        RESULT_ERR_NOTCONNECTED = 8,
        RESULT_ERR_PARAMETER = 9,
        RESULT_ERR_UNSUPPORTED = 10,
        RESULT_ERR_NOTRIGGER = 11,
        RESULT_ERR_BADSMARTIMAGE = 12,
        RESULT_ERR_SMARTIMAGETOOLARGE = 13,
        RESULT_ERR_TOO_MUCH_INTERPOLATION = 14,
        RESULT_ERR_WRONGRESULTSTRUCT = 15,
        RESULT_ERR_THREAD = 16,
        RESULT_ERR_CANCEL = 17,
    }
}
